# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=roxterm
pkgver=3.14.3
pkgrel=0
pkgdesc="Highly configurable terminal emulator"
url="https://github.com/realh/roxterm"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	cmake
	dbus-glib-dev
	samurai
	vte3-dev
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/realh/roxterm/archive/refs/tags/$pkgver.tar.gz
	version.patch
	"
options="!check" # no tests

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
0e5473ec7c394d5d50d39a2ebe594c6ecd158c8ac24f6a40d93ec8941a95322ba2aed14827500d736d88f827a439eab843bb6c98315e621683ba708beabc139c  roxterm-3.14.3.tar.gz
2570e155358dc3954488f16db29a1bbfca69120b615cd950af8c79011dd3c0a439b9aaf7ac486d34df6f92ffa2b00d9fda5501ae3778facf239c5455591c525c  version.patch
"
